package com.antoco.operation.bigscreen.model.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 昨日总体水位
 */
@Entity
@Data
@Table(name = "prev_day_suiwei")
public class PrevDaySuiwei implements AbstractEntity<Long> , Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 峰段占比
     */
    @Column(name = "fd_zb")
    private String fdZb;

    /**
     * 平段占比
     */
    @Column(name = "pd_zb")
    private String pdZb;

    /**
     * 谷段占比
     */
    @Column(name = "gd_zb")
    private String gdZb;

    /**
     * 总体水位阈值定义-峰段区间
     */
    @Column(name = "fd_vals")
    private String fdVals;

    /**
     * 总体水位阈值定义-平段区间
     */
    @Column(name = "pd_vals")
    private String pdVals;

    /**
     * 总体水位阈值定义-谷段区间
     */
    @Column(name = "gd_vals")
    private String gdVals;

}
